package com.jiuair.cloud.data.revenue.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.jiuair.cloud.data.revenue.mybatis.base.entity.AbstractEntity2;
import io.swagger.annotations.ApiModel;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 用户角色关联表
 *
 * @author deng
 * @date 2020-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("usr_user_role")
@ApiModel(value="UsrUserRole对象", description="用户角色关联表")
public class UsrUserRole extends AbstractEntity2 {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;


    private Long userId;


    private Long roleId;


}
